#pragma once
#define dt (cur->fps.dt())
#define dur (cur->fps.dur())
#define scr (cur->scr)
#define dscr (cur->dscr)
#define ft (cur->ft)
#define loc (cur->loc)

#define msw (cur->in.msw)
#define chs (cur->in.chs)
#define msp (cur->in.msp)
#define msp_old (cur->in.msp_old)
#define msd (cur->in.msd)
#define msd_old (cur->in.msd_old)
#define kbmsg (cur->in.kbmsg)
#define kbd (cur->in.kbd)
#define kbd_old (cur->in.kbd_old)
#define kbc (cur->in.kbc)

#define own (cur->own)
#define hvd (own.hvd)
#define dhv (own.dhv)
#define whd (own.whd)
#define dwh (own.dwh)
#define kb (own.kb)
#define free_kb (own.free_kb)
#define rmv if (cur) { own.remove(this); }

#define mkcl(x) (mkp(x)(tmp))

#define ui (*cur->ui)
#define bgr (*cur->bgr)
#define sc (cur->sc)
#define dbstr (cur->dbstr)
#define gtvar (cur->get_var)
#define cm (bgr.cm)
#define gttile (cur->get_tile)
#define gsel (cur->geo_selected)